package com.evaluationSystem.service;


import com.evaluationSystem.entity.Dimension;
import com.evaluationSystem.entity.Questionnaire;
import com.evaluationSystem.entity.User;
import com.evaluationSystem.entity.vo.QuestionnaireVo;
import com.evaluationSystem.entity.vo.UserVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.HashMap;
import java.util.List;

public interface DimensionService {
    List<Dimension> getDimension(String questionId);

    User findByUsername(String principal);

    List<Questionnaire> getQuestion(UserVo userVo);

    void insertDimension(Dimension dimension);

    void insertDimensions(Dimension dimension);

    void insertBathDimension(List<Dimension> dimensionList);

    HashMap<String, Object> uploadDimension(MultipartFile multipartFile, String questionId);

    void updateDimension(Dimension dimension);

    List<QuestionnaireVo> getQuestionList(User user);

    void updateDimensionSort(List<Dimension> dimension);

    void deleteDimension(String id);
}
